@use "color";
@use "hairline";

.page {
  width: 100%;
  height: calc(100vh - 11.73vw - 17.33vw);
  overflow-y: auto;
  position: relative;
  .bg {
    width: 100%;
    padding: 0 4vw 25.5vw;
    background: #fff
      linear-gradient(180deg, rgba(44, 181, 165, 0), rgba(44, 181, 165, 0.2));
    border-bottom-left-radius: 40vw 5.33333vw;
    border-bottom-right-radius: 40vw 5.33333vw;
    overflow: hidden;
  }
  .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 4.27vw;
    margin-top: 4vw;
    .type {
      color: color.$text_1;
      font-weight: 500;
      span:last-child {
        padding-left: 1.33vw;
      }
    }
    .status {
      font-size: 4.27vw;
    }
    .notPay {
      color: #f2994a;
    }
    .notConsult {
      color: color.$text_1;
    }
    .consulting {
      color: color.$main;
    }
    .complete,
    .cancel {
      color: color.$dark;
    }
  }
  .tip {
    color: color.$text_3;
    font-size: 3.2vw;
    line-height: 4.8vw;
    margin-top: 1.87vw;
  }
  .doctor {
    margin-top: -22vw;
    padding: 0 4vw;
    .title {
      color: color.$text_2;
      font-size: 3.73vw;
    }
    .card {
      margin-top: 2.67vw;
      background: #fff;
      padding: 4.67vw 4vw;
      border-radius: 1.07vw;
      box-shadow: 0 0 2.93vw 0 #e5e5e57f;
      display: flex;
      align-items: center;
      .avatar {
        width: 10.13vw;
        height: 10.13vw;
        overflow: hidden;
        border-radius: 50%;
        margin-right: 3.6vw;
        img,
        svg {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }
      .info {
        .base {
          display: flex;
          align-items: baseline;
          span:first-child {
            color: color.$text_2;
            font-weight: 500;
            font-size: 4.27vw;
            margin-right: 3.2vw;
          }
          span:last-child {
            color: color.$text_3;
            font-size: 3.47vw;
          }
        }
        .hospital {
          color: color.$text_2;
          font-size: 3.47vw;
        }
      }
    }
  }
  .patient {
    padding: 5.33vw 4vw 0;
    font-size: 4.27vw;
    .title {
      color: color.$text_2;
      font-size: 3.73vw;
      margin-bottom: 4vw;
    }
    .base {
      display: flex;
      justify-content: space-between;
      position: relative;
      @include hairline.hairline-bottom;
      padding-bottom: 4vw;
    }
    .desc {
      margin-top: 4vw;
      .name {
        padding-bottom: 4vw;
      }
      .content {
        padding-bottom: 30px;
      }
    }
    .name {
      color: color.$text_2;
    }
    .content {
      color: color.$tag;
    }
  }
  .divide {
    content: "";
    display: block;
    width: 100%;
    height: 2.67vw;
    background: color.$bg;
  }
  .list {
    padding: 4vw 4vw 0;
    .title {
      color: color.$text_2;
      font-size: 3.73vw;
      margin-bottom: 4vw;
    }
    .item {
      display: flex;
      justify-content: space-between;
      padding: 4vw 0;
      font-size: 4.27vw;
      position: relative;
      @include hairline.hairline-bottom;
      .left {
        color: color.$text_2;
      }
      .right {
        color: color.$tag;
        display: flex;
        align-items: center;
        i {
          font-style: normal;
          color: color.$price;
        }
      }
      .copy {
        border-radius: 2.67vw;
        background: #2cb5a519;
        border: 0.13vw solid color.$main;
        padding: 0.53vw 1.6vw;
        color: color.$main;
        font-size: 3.2vw;
        margin-right: 1.33vw;
      }
    }
  }
  .divide:last-child {
    height: 14.4vw;
  }
}
.meta {
  width: 100%;
  height: 17.33vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  position: relative;
  .left {
    color: color.$text_2;
    font-size: 3.73vw;
    display: flex;
    align-items: center;
    margin-right: 4.67vw;
    .price {
      color: #eb5757;
      font-weight: 500;
      font-size: 5.33vw;
      padding-left: 2.67vw;
    }
  }
  .right {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    .button {
      height: 11.73vw;
      line-height: 11.73vw;
      padding: 0 4vw;
      font-weight: 500;
      font-size: 4.27vw;
      border-radius: 5.87vw;
      margin: 0 1.33vw;
      flex: 1;
    }
    .gray {
      color: color.$main;
      background: #fafafa;
      border: 1px solid #ededede5;
    }
    .green {
      color: #ffffff;
      background: color.$main;
    }
  }
  .count {
    width: 100%;
    height: 11.73vw;
    background: #fff7eb;
    color: #f2994a;
    font-size: 3.2vw;
    padding: 0 4vw;
    position: absolute;
    left: 0;
    bottom: 17.33vw;
    text-align: center;
    line-height: 11.73vw;
  }
}